// 顶部搜索
.w-title {
  background-color: #fff;
  width: 100%;
  height: 2.2rem;
  .w-top {
    display: flex;
  }
  li {
    line-height: 2.2rem;
  }
  .mb-back {
    width: 3.55rem;
    height: 2.2rem;
  }
  .header-img {
    display: block;
    margin: 0.3rem auto 0;
    width: 2.4rem;
    height: 1.2rem;
    box-sizing: border-box;
    img {
      width: 2.4rem;
      height: 1.2rem;
    }
  }
  .mb-title {
    line-height: 2rem;
    position: relative;
    .srh-icon {
      display: block;
      width: 0.6rem;
      height: 0.6rem;
      position: absolute;
      top: 0.8rem;
      left: 0.5rem;
      background: url(https://m.wbiao.cn/public/sprites/a/a.png?20190423) -6.9rem -20.875rem
        no-repeat;
      background-size: 22.15rem;
    }
    .icon-close {
      position: absolute;
      top: 0.8rem;
      right: 0.3rem;
      display: block;
      background: url(https://m.wbiao.cn/public/sprites/a/a.png?20190423) -19.55rem -18.4rem
        no-repeat;
      width: 16px;
      height: 16px;
      background-size: 443px;
    }
    input {
      width: 13.2665rem;
      height: 1.6rem;
      font-size: 0.6rem;
      color: #333;
      background: #f1f1f1;
      padding-left: 1.6rem;
      margin: 0;
      border: none;
      border-radius: 0.75rem;
      box-sizing: border-box;
    }
  }
}
.mb-more-icon {
  display: block;
  width: 2.2rem;
  height: 2.2rem;
  background: url(https://m.wbiao.cn/public/sprites/d/d.png?20208211017) -12.875rem -4.9rem
    no-repeat;
  background-size: 22.425rem;
}
// 品牌新表
.new-search {
  background-color: #fff;
  width: 100%;
  height: 2rem;
  border-bottom: 0.05rem solid #ddd;
  .new-tab {
    display: flex;
    justify-content: space-around;
    line-height: 1.9rem;
    li {
      color: #666;
      font-size: 0.7rem;
    }
    .new-on {
      font-weight: 600;
      border-bottom: none;
      position: relative;
      a {
        color: #000;
      }
      a::after {
        content: "";
        display: block;
        width: 0.8rem;
        height: 0.2rem;
        position: absolute;
        bottom: -0.1rem;
        right: 50%;
        transform: translateX(50%);
        background-color: #ff9419;
      }
    }
  }
}
// 列表导航
.mb-tab {
  position: sticky;
  top: 0;
  z-index: 75;
  background-color: #fff;
  height: 2.2335rem;
  line-height: 2.2rem;
  font-size: 0.6rem;
  color: #999;
  .mb-nav {
    display: flex;
    justify-content: space-around;
    .tab-nav {
      color: #d90000;
    }
    .tab-nav2 {
      position: relative;
      .line {
        position: absolute;
        left: -1.7rem;
        top: 0.7rem;
        width: 0.05rem;
        height: 0.8rem;
        background: #ddd;
      }
      .lou {
        position: absolute;
        left: -0.8rem;
        top: 0.75rem;
        background: url(https://m.wbiao.cn/public/sprites/a/a.png?20190423) -5rem -17.45rem
          no-repeat;
        background-size: 22.15rem;
        display: block;
        width: 0.7rem;
        height: 0.7rem;
      }
    }
  }
}
// 商品
.mb-goods {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  .item {
    width: 9.2rem;
    height: 17rem;
    background-color: #fff;
    margin-top: 0.4rem;
    .p1 {
      position: relative;
      overflow: hidden;
      margin-top: 0.6rem;
      margin-bottom: 0;
      height: 11rem;
      .p-img1 {
        position: absolute;
        left: -1rem;
        width: 11rem;
      }
      img {
        width: 11rem;
      }
      .yaofeng {
        position: absolute;
        left: 0;
        bottom: -0.35rem;
        img {
          width: 9.2rem;
        }
      }
      .price {
        position: absolute;
        right: 0.3rem;
        bottom: 0;
        font-size: 0.65rem;
        color: #fff;
        i {
          font-size: 0.6rem;
        }
      }
    }
    .p2 {
      padding: 0.4rem 0.4rem 0.2rem 0.4rem;
      white-space: nowrap;
      font-size: 0.7rem;
      color: #999;
      line-height: 0.6rem;
      box-sizing: border-box;
      margin: 0;
      .s-price {
        color: #e55d5d;
        margin-right: 0.5rem;
      }
      del {
        position: relative;
        font-weight: bold;
      }
      del::after {
        content: "";
        position: absolute;
        top: 3px;
        left: -9px;
        width: 1px;
        height: 12px;
        background: #ddd;
      }
    }
    .p3 {
      padding: 0.2rem 0.6rem 0;
      margin-bottom: 0.4rem;
      font-size: 0.6rem;
      color: #666;
      text-align: center;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
      em {
        font-weight: 700;
        color: #333;
      }
    }
    .p4 {
      line-height: 0.5rem;
      padding: 0 0.6rem;
      margin: 0 auto;
      .free {
        text-align: center;
        border: 0 solid #ffdfb3;
        background: linear-gradient(90deg, #f2dec2 0, #ffdfb3 100%);
        color: #666;
        margin-right: 0.4rem;
      }
      span {
        color: #fff;
        background: linear-gradient(315deg, #ff8080 0, #e65c5c 100%);
        border-radius: 0.1rem;
      }
      em {
        margin-bottom: 0.4rem;
        font-size: 0.5rem;
        display: inline-block;
        transform: scale(0.88);
        transform-origin: center;
      }
    }
  }
  .item1 {
    width: 9.2rem;
    height: 17rem;
    background-color: #fff;
    margin: 0.4rem 0 0 0.35rem;
    .p1 {
      position: relative;
      overflow: hidden;
      margin-top: 0.6rem;
      margin-bottom: 0;
      height: 11rem;
      .p-img1 {
        position: absolute;
        left: -1rem;
        width: 11rem;
      }
      img {
        width: 11rem;
      }
      .yaofeng {
        position: absolute;
        left: 0;
        bottom: -0.35rem;
        img {
          // position: absolute;
          // left: -0.5rem;
          width: 9.2rem;
        }
      }
      .price {
        position: absolute;
        right: 0.3rem;
        bottom: 0;
        font-size: 0.65rem;
        color: #fff;
        i {
          font-size: 0.6rem;
        }
      }
    }
    .p2 {
      padding: 0.4rem 0.4rem 0.2rem 0.4rem;
      white-space: nowrap;
      font-size: 0.7rem;
      color: #999;
      line-height: 0.6rem;
      box-sizing: border-box;
      margin: 0;
      .s-price {
        color: #e55d5d;
        margin-right: 0.5rem;
      }
      del {
        position: relative;
        font-weight: bold;
      }
      del::after {
        content: "";
        position: absolute;
        top: 3px;
        left: -9px;
        width: 1px;
        height: 12px;
        background: #ddd;
      }
    }
    .p3 {
      padding: 0.2rem 0.6rem 0;
      margin-bottom: 0.4rem;
      font-size: 0.6rem;
      color: #666;
      text-align: center;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
      em {
        font-weight: 700;
        color: #333;
      }
    }
    .p4 {
      line-height: 0.5rem;
      padding: 0 0.6rem;
      margin: 0 auto;
      .free {
        text-align: center;
        border: 0 solid #ffdfb3;
        background: linear-gradient(90deg, #f2dec2 0, #ffdfb3 100%);
        color: #666;
        margin-right: 0.4rem;
      }
      span {
        color: #fff;
        background: linear-gradient(315deg, #ff8080 0, #e65c5c 100%);
        border-radius: 0.1rem;
      }
      em {
        margin-bottom: 0.4rem;
        font-size: 0.5rem;
        display: inline-block;
        transform: scale(0.88);
        transform-origin: center;
      }
    }
  }
}
.adimg {
  margin: 12px 8px 0 8px;
  img {
    width: 100%;
    border: none;
    display: block;
  }
}
.item-img {
  background: url(https://static.wbiao.co/d/m/images/1/recommend_tag_bg.png)
    no-repeat;
  background-size: cover;
  .h5 {
    position: relative;
    height: 3.75rem;
    line-height: 4.1rem;
    padding: 0 0.45rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    img {
      position: absolute;
      top: 1.55rem;
      left: 0.7rem;
      display: inline-block;
      width: 1rem;
      height: 1rem;
    }
  }
  ul {
    padding: 1.5rem 0 1.5rem 0.75rem;

    li {
      display: inline-block;
      max-width: 6.6rem;
      height: 1.5rem;
      line-height: 0.6rem;
      margin-bottom: 0.3rem;
      padding: 0.5rem;
      font-size: 0.7rem;
      font-weight: 700;
      color: #666;
      border-radius: 0.95rem;
      box-sizing: border-box;
      background: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}
